package com.example.springbootdemo.app;

import com.example.springbootdemo.user.UserCmd;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
@Slf4j
@Component
public class BizValidateServiceImpl implements BizValidateService {

    @Override
    public void bizMethodA(@Valid UserCmd model, @NotNull String param) {
        log.info("execute bizA model=" + model + ",param=" + param);
    }
}